Optimal. Leaf size=75 \[ \frac {\sqrt {d x-c} \sqrt {c+d x} \left (2 a d^2+3 b c^2\right )}{3 c^4 x}+\frac {a \sqrt {d x-c} \sqrt {c+d x}}{3 c^2 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.065, Rules used = {454, 95} \[ \frac {\sqrt {d x-c} \sqrt {c+d x} \left (2 a d^2+3 b c^2\right )}{3 c^4 x}+\frac {a \sqrt {d x-c} \sqrt {c+d x}}{3 c^2 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 95
Rule 454
Rubi steps
\begin {align*} \int \frac {a+b x^2}{x^4 \sqrt {-c+d x} \sqrt {c+d x}} \, dx &=\frac {a \sqrt {-c+d x} \sqrt {c+d x}}{3 c^2 x^3}+\frac {1}{3} \left (3 b+\frac {2 a d^2}{c^2}\right ) \int \frac {1}{x^2 \sqrt {-c+d x} \sqrt {c+d x}} \, dx\\ &=\frac {a \sqrt {-c+d x} \sqrt {c+d x}}{3 c^2 x^3}+\frac {\left (3 b c^2+2 a d^2\right ) \sqrt {-c+d x} \sqrt {c+d x}}{3 c^4 x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 66, normalized size = 0.88 \[ -\frac {\left (c^2-d^2 x^2\right ) \left (a \left (c^2+2 d^2 x^2\right )+3 b c^2 x^2\right )}{3 c^4 x^3 \sqrt {d x-c} \sqrt {c+d x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.67, size = 67, normalized size = 0.89 \[ \frac {{\left (3 \, b c^{2} d + 2 \, a d^{3}\right )} x^{3} + {\left (a c^{2} + {\left (3 \, b c^{2} + 2 \, a d^{2}\right )} x^{2}\right )} \sqrt {d x + c} \sqrt {d x - c}}{3 \, c^{4} x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.24, size = 137, normalized size = 1.83 \[ \frac {8 \, {\left (3 \, b d^{2} {\left (\sqrt {d x + c} - \sqrt {d x - c}\right )}^{8} + 24 \, b c^{2} d^{2} {\left (\sqrt {d x + c} - \sqrt {d x - c}\right )}^{4} + 24 \, a d^{4} {\left (\sqrt {d x + c} - \sqrt {d x - c}\right )}^{4} + 48 \, b c^{4} d^{2} + 32 \, a c^{2} d^{4}\right )}}{3 \, {\left ({\left (\sqrt {d x + c} - \sqrt {d x - c}\right )}^{4} + 4 \, c^{2}\right )}^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 49, normalized size = 0.65 \[ \frac {\sqrt {d x +c}\, \left (2 a \,d^{2} x^{2}+3 b \,c^{2} x^{2}+a \,c^{2}\right ) \sqrt {d x -c}}{3 c^{4} x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.32, size = 75, normalized size = 1.00 \[ \frac {\sqrt {d^{2} x^{2} - c^{2}} b}{c^{2} x} + \frac {2 \, \sqrt {d^{2} x^{2} - c^{2}} a d^{2}}{3 \, c^{4} x} + \frac {\sqrt {d^{2} x^{2} - c^{2}} a}{3 \, c^{2} x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.77, size = 79, normalized size = 1.05 \[ \frac {\sqrt {d\,x-c}\,\left (\frac {a}{3\,c}+\frac {x^2\,\left (3\,b\,c^3+2\,a\,c\,d^2\right )}{3\,c^4}+\frac {x^3\,\left (3\,b\,c^2\,d+2\,a\,d^3\right )}{3\,c^4}+\frac {a\,d\,x}{3\,c^2}\right )}{x^3\,\sqrt {c+d\,x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 70.80, size = 170, normalized size = 2.27 \[ - \frac {a d^{3} {G_{6, 6}^{5, 3}\left (\begin {matrix} \frac {9}{4}, \frac {11}{4}, 1 & \frac {5}{2}, \frac {5}{2}, 3 \\2, \frac {9}{4}, \frac {5}{2}, \frac {11}{4}, 3 & 0 \end {matrix} \middle | {\frac {c^{2}}{d^{2} x^{2}}} \right )}}{4 \pi ^{\frac {3}{2}} c^{4}} - \frac {i a d^{3} {G_{6, 6}^{2, 6}\left (\begin {matrix} \frac {3}{2}, \frac {7}{4}, 2, \frac {9}{4}, \frac {5}{2}, 1 & \\\frac {7}{4}, \frac {9}{4} & \frac {3}{2}, 2, 2, 0 \end {matrix} \middle | {\frac {c^{2} e^{2 i \pi }}{d^{2} x^{2}}} \right )}}{4 \pi ^{\frac {3}{2}} c^{4}} - \frac {b d {G_{6, 6}^{5, 3}\left (\begin {matrix} \frac {5}{4}, \frac {7}{4}, 1 & \frac {3}{2}, \frac {3}{2}, 2 \\1, \frac {5}{4}, \frac {3}{2}, \frac {7}{4}, 2 & 0 \end {matrix} \middle | {\frac {c^{2}}{d^{2} x^{2}}} \right )}}{4 \pi ^{\frac {3}{2}} c^{2}} - \frac {i b d {G_{6, 6}^{2, 6}\left (\begin {matrix} \frac {1}{2}, \frac {3}{4}, 1, \frac {5}{4}, \frac {3}{2}, 1 & \\\frac {3}{4}, \frac {5}{4} & \frac {1}{2}, 1, 1, 0 \end {matrix} \middle | {\frac {c^{2} e^{2 i \pi }}{d^{2} x^{2}}} \right )}}{4 \pi ^{\frac {3}{2}} c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________